package com.bbs.bean;

import java.sql.Timestamp;
import java.util.List;


public class Reply {
    /**
     * 文章回复属性
     */
    private int replyId;
    private int replyPostId;
    private String replyUserName;
    private String replyContent;
    private int replyGoodCount;
    private int replyBadCount;
    private Timestamp replyCreateTime;

    private List<User> user;

    public List<User> getUser() {
        return user;
    }

    public void setUser(List<User> user) {
        this.user = user;
    }

    public int getReplyId() {
        return replyId;
    }

    public void setReplyId(int replyId) {
        this.replyId = replyId;
    }

    public int getReplyPostId() {
        return replyPostId;
    }

    public void setReplyPostId(int replyPostId) {
        this.replyPostId = replyPostId;
    }

    public String getReplyUserName() {
        return replyUserName;
    }

    public void setReplyUserName(String replyUserName) {
        this.replyUserName = replyUserName;
    }

    public String getReplyContent() {
        return replyContent;
    }

    public void setReplyContent(String replyContent) {
        this.replyContent = replyContent;
    }

    public int getReplyGoodCount() {
        return replyGoodCount;
    }

    public void setReplyGoodCount(int replyGoodCount) {
        this.replyGoodCount = replyGoodCount;
    }

    public int getReplyBadCount() {
        return replyBadCount;
    }

    public void setReplyBadCount(int replyBadCount) {
        this.replyBadCount = replyBadCount;
    }

    public Timestamp getReplyCreateTime() {
        return replyCreateTime;
    }

    public void setReplyCreateTime(Timestamp replyCreateTime) {
        this.replyCreateTime = replyCreateTime;
    }

    @Override
    public String toString() {
        return "Reply{" +
                "replyId=" + replyId +
                ", replyPostId=" + replyPostId +
                ", replyUserName='" + replyUserName + '\'' +
                ", replyContent='" + replyContent + '\'' +
                ", replyGoodCount=" + replyGoodCount +
                ", replyBadCount=" + replyBadCount +
                ", replyCreateTime=" + replyCreateTime +
                ", user=" + user +
                '}';
    }

    public Reply() {
    }

    public Reply(int replyId, int replyPostId, String replyUserName, String replyContent, int replyGoodCount, int replyBadCount, Timestamp replyCreateTime) {
        this.replyId = replyId;
        this.replyPostId = replyPostId;
        this.replyUserName = replyUserName;
        this.replyContent = replyContent;
        this.replyGoodCount = replyGoodCount;
        this.replyBadCount = replyBadCount;
        this.replyCreateTime = replyCreateTime;
    }
}
